<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
   
     <!-- 师资队伍 -->
     <div class="span12"  id="body-content">
	    <div class="panel"> 
            <div class="panel-heading" style="background-color:#e9d555;color:#eee;">教师管理</div>
            <div class="shizi1" style='background-color:#eee;width:100%;height:200px;border:2px;font-size: 20px;'>
                <div style="border-right-color:#e9d555;padding:20px;" class="span2">计算机系</div>
                <div style="background-color:#87BDB1;height:200px;" class="span10">
                    <table class='table table-bordered'>
                       <c:forEach begin="1" end="${fn:length(cteachers)}" step="8" varStatus="status">
                           <tr class="row-fluid">
                            <c:forEach items="${cteachers }" var="cteacher" begin="${(status.count-1)*8 }" end="${(status.count)*8-1 }">        
                               <td>
                                  ${cteacher.name }
                               </td>
                          </c:forEach>
                      </tr>
                   </c:forEach>
                    </table>
                </div>
            </div>
            <div class="shizi2" style=''>
                <div style="border-right-color:#87BDB1;padding:10px;" class="span2">软件工程系</div>
                <div style="background-color:#fff;height:200px;" class="span10">
                  <table class='table table-bordered'>
                       <c:forEach begin="1" end="${fn:length(rteachers)}" step="8" varStatus="status">
                           <tr class="row-fluid">
                            <c:forEach items="${rteachers }" var="rteacher" begin="${(status.count-1)*8 }" end="${(status.count)*8-1 }">        
                               <td>
                                  ${rteacher.name }
                               </td>
                          </c:forEach>
                      </tr>
                   </c:forEach>
                    </table>
                </div>
            </div>
            <div class="shizi1">
                <div style="border-right-color:#e9d555;padding:10px;" class="span2">计算机信息技术系</div>
                <div style="background-color:#87BDB1;height:200px;" class="span10">
                
                  <table class='table table-bordered'>
                       <c:forEach begin="1" end="${fn:length(xteachers)}" step="8" varStatus="status">
                           <tr class="row-fluid">
                            <c:forEach items="${xteachers }" var="xteacher" begin="${(status.count-1)*8 }" end="${(status.count)*8-1 }">        
                               <td>
                                  ${xteacher.name }
                               </td>
                          </c:forEach>
                      </tr>
                   </c:forEach>
                    </table>
                </div>
            </div>
            <div class="shizi2">
                <div style="border-right-color:#87BDB1;padding:10px;" class="span2">应用数学系</div>
                <div style="background-color:#fff;height:200px;" class="span10">
                <table class='table table-bordered'>
                       <c:forEach begin="1" end="${fn:length(yteachers)}" step="8" varStatus="status">
                           <tr class="row-fluid">
                            <c:forEach items="${yteachers }" var="yteacher" begin="${(status.count-1)*8 }" end="${(status.count)*8-1 }">        
                               <td>
                                  ${yteacher.name }
                               </td>
                          </c:forEach>
                      </tr>
                   </c:forEach>
                    </table>
                </div>
            </div>
            <div class="shizi1">
                <div style="border-right-color:#e9d555;padding:10px;" class="span2">物联网</div>
                <div style="background-color:#87BDB1;height:200px;" class="span10">
                <table class='table table-bordered'>
                       <c:forEach begin="1" end="${fn:length(wteachers)}" step="8" varStatus="status">
                           <tr class="row-fluid">
                            <c:forEach items="${wteachers }" var="wteacher" begin="${(status.count-1)*8 }" end="${(status.count)*8-1 }">        
                               <td>
                                  ${wteacher.name }
                               </td>
                          </c:forEach>
                      </tr>
                   </c:forEach>
                    </table>
                </div>
            </div>
            <div class="shizi2" style='height:200px;'>
                <div style="border-right-color:#e9d555;padding:10px;" class="span2">研究生导师</div>
                <div style="background-color:#fff;height:200px;" class="span10">
                
                  <table class='table table-bordered'>
                       <c:forEach begin="1" end="${fn:length(steachers)}" step="8" varStatus="status">
                           <tr class="row-fluid">
                            <c:forEach items="${steachers }" var="steacher" begin="${(status.count-1)*8 }" end="${(status.count)*8-1 }">        
                               <td>
                                  ${steacher.tId.name }
                               </td>
                          </c:forEach>
                      </tr>
                   </c:forEach>
                    </table>
                </div>
            </div>
            <div class="shizi1">
                <div style="border-right-color:#87BDB1;padding:10px;" class="span2">优秀人才</div>
                <div style="background-color:#87BDB1;height:90px;" class="span10">
                <table class='table table-bordered'>
                       <c:forEach begin="1" end="${fn:length(yxteachers)}" step="8" varStatus="status">
                           <tr class="row-fluid">
                            <c:forEach items="${yxteachers }" var="yxteacher" begin="${(status.count-1)*8 }" end="${(status.count)*8-1 }">        
                               <td>
                                  ${yxteacher.tId.name }
                               </td>
                          </c:forEach>
                      </tr>
                   </c:forEach>
                    </table>
                </div>
            </div>
            
            
            <div class="panel-heading" style="background-color:#e9d555;color:#eee;padding:20px;">教师管理</div>
        </div>    
    </div><!-- end of 师资队伍 -->
 